package cn.lixin.org.domain;

import cn.lixin.basic.domain.BaseDomain;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Department extends BaseDomain {
    // 部门编号

    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private String manager_id;
    private Long parent_id;

    // 引用属性
    private Employee manager;
    private Department parent;
    // 自关联
    private List<Department> son =  new ArrayList<>();


}
